package com.ionehe.group.common.uaa.ex.domain.service;

import com.ionehe.group.common.io.Response;
import com.ionehe.group.common.uaa.ex.dto.CustomerInfoDTO;

/**
 * Copyright (c) 2020 ionehe.com
 * Date: 2020/11/26 0026
 * Time: 15:39
 *
 * @author 2020年 <a href="mailto:a@ionehe.com">秀</a>
 */
public interface CustomerWriteService {
    Response customerAddAndUpdate(CustomerInfoDTO customerInfoDTO);

    Response<Boolean> updateCustomer(CustomerInfoDTO customerInfoDTO);

    Response<Boolean> customerDelete(Long id);

    void updateLastLoginTime(Long id);
}